class Annuity
{
public:
	void setValues(double rate, int n, double pmt, double pv, double fv);					// This is to get the components of an annuity calculation.
	double getR()const;
	int getN()const;
	double getPmt()const;
	double getPV()const;
	double getFV()const;
	Annuity();
	Annuity(double R, int P, double Pmt, double PV, double FV);

private:
	double R;				// Rate
	int N;					// Period
	double Pmt;				// Payment
	double PV;				// Present Value
	double FV;				// Future Value

};